package com.mall.group_booking.service;

import com.github.pagehelper.PageInfo;
import com.mall.common.response.CommonResponse;
import com.mall.entity.groupbooking.GbRoot;
import com.mall.entity.groupbooking.GbRoot;
import com.mall.group_booking.entity.GbItemVo;
import com.mall.group_booking.entity.GbRecordVo;

import java.util.List;

/**
 * @author White
 * @version 1.0
 * @email 616769721@qq.com
 * @date 2021/7/29 20:47
 */
public interface BookingRootService {

    PageInfo<GbRoot> findPage(int pageNum, int pageSize, GbRoot root);


    GbRoot doBookingRoot(GbItemVo gbItemVo, Long uid);

    GbRoot findById(Integer rootId);

    void updateStatusById(Integer id, String status);

    void updateBookingRoot(GbRoot gbRoot);

    List<GbRoot> findBookingRoot(Long uid);
}
